home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / Graphic Elements 3 / LibHdrs / GEWorldManager.h < prev    next >
Text File  |  1995-05-22  |  1KB  |  58 lines

  1. /*
  2.     GEWorldManager.h
  3.     
  4.     A part of the Graphic Elements™ system.
  5.     
  6.     Copyright 1994 by Al Evans. All rights reserved.
  7.     
  8.     Use when multiple GEWorlds are running concurrently.
  9.     
  10.     Assures:
  11.     
  12.     1) That all worlds are updated on each call to DoWorldUpdate();
  13.     
  14.     2) That MouseDowns are dispatched to the appropriate sensor in the appropriate world;
  15.     
  16.     3) That all worlds affected by an overlapping world are covered and uncovered
  17.        appropriately.
  18.        
  19.     9/23/94
  20.     
  21. */
  22.  
  23. #ifndef GEWMANAGER
  24. #define GEWMANAGER
  25.  
  26. #include "Defs.h"
  27.  
  28.  
  29. extern GETMgrRec    geWorldListTime;
  30.  
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35.  
  36. // In general, this is the only World Manager routine called
  37. // by the application program
  38.  
  39. Boolean AddToWorldList(GEWorldPtr world, Boolean shareTimer);
  40.  
  41.  
  42. // These routines are used only by the Display Controller
  43.  
  44. void DeleteFromWorldList(GEWorldPtr world);
  45.  
  46. void DoWorldListUpdate(Boolean invalidate);
  47.  
  48. void WorldOnListMoved(GEWorldPtr world);
  49.  
  50. Boolean MouseDownInListWorld(Point gMousePt);
  51.  
  52.  
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57.  
  58. #endif